package com.spring.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

/**
 * Description:
 *
 * @author lijie
 * @create 2019-01-16 23:34
 * Update by lijie 2019-01-16 23:34
 */
@Aspect
public class LoginAspect {


    @Pointcut("execution(public int com.spring.aop.MathCal.dev(..))")
    public void pointCut(){}

    @Before("pointCut()")
    public void logStart(){
        System.out.println("log...start");
    }


}
